package com.hlkj.pay.app.merchant.ext.impl.lakala.dto.resp;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/12/09 16:26
 */
@Data
public class LakalaSubMerInfoResp {

    /**
     * merInnerNo : 5002022050550024285
     * subMchId : null
     * subMchIdBank : null
     * registerType : UNION
     * registerTypeText : 银联二维码
     * registerChannel : CODEPAYIFS
     * registerChannelText : 条码支付综合前置
     * channelId : 401550000999
     * receOrgNo :
     * registerTm : 2022-05-05 11:35:00
     * registerStatus : FAIL
     * resultCode : 103099
     * resultMessage : 授权机构未激活
     */

    private String merInnerNo;
    private String subMchId;
    private String subMchIdBank;
    private String registerType;
    private String registerTypeText;
    private String registerChannel;
    private String registerChannelText;
    private String channelId;
    private String receOrgNo;
    private String registerTm;
    private String registerStatus;
    private String resultCode;
    private String resultMessage;


    /**
     * applymentState : APPLYMENT_STATE_FAIL
     * applymentId : 202103042502641607
     * authorizeState : AUTHORIZE_STATE_UNAUTHORIZED
     * qrcodeData :
     * rejectParameter :
     * rejectReason :
     */
    //APPLYMENT_STATE_FAIL：提交失败；
    // APPLYMENT_STATE_COMMIT：已提交；
    // APPLYMENT_STATE_WAITTING_FOR_AUDIT：审核中；
    // APPLYMENT_STATE_EDITTING：编辑中；
    // APPLYMENT_STATE_WAITTING_FOR_CONFIRM_CONTACT：待确认联系信息；
    // APPLYMENT_STATE_WAITTING_FOR_CONFIRM_LEGALPERSON：待账户验证；
    // APPLYMENT_STATE_PASSED：审核通过；
    // APPLYMENT_STATE_REJECTED：审核驳回；
    // APPLYMENT_STATE_FREEZED：已冻结；
    // APPLYMENT_STATE_CANCELED：已作废。
    private String applymentState;
    private String applymentId;
    //AUTHORIZE_STATE_UNAUTHORIZED：未授权 AUTHORIZE_STATE_AUTHORIZED ：已授权
    private String authorizeState;
    //1、当申请单状态为APPLYMENT_STATE_WAITTING_FOR_CONFIRM_CONTACT、APPLYMENT_STATE_WAITTING_FOR_CONFIRM_LEGALPERSON、APPLYMENT_STATE_PASSED、APPLYMENT_STATE_FREEZED时，会返回二维码图片。2、可用img标签直接加载该图片。示例如下：<’img src=”” style=”display: block;”>
    private String qrcodeData;
    private String rejectParameter;
    private String rejectReason;
    private String subMerchantNo;
    private String registerChannelName;


}
